//time_helper.h

#ifndef TIME_HELPER_H
#define TIME_HELPER_H

#include <time.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>


#ifdef __cplusplus  /*If compile C++*/
/*Let C code be defined in C++*/
extern "C" {
#endif


#ifdef _WIN32   /*Windows*/
#include <windows.h>
double time_difference_Win(void (*fptr)(void));

#endif


clock_t time_difference_CT(void (*fptr)(void));
void get_format_time(void);
int get_rand();



#ifdef __cplusplus
}
#endif





#ifndef TIME_HELPER_C
#define TIME_HELPER_C
#include "time_helper.c"
#endif


#endif